package pbbltobpel;

import java.util.Hashtable;

public class ParameterTypeMapper {

	private Hashtable<String, String> mapping;
	
	public ParameterTypeMapper() {
		mapping = new Hashtable<String, String>();
		mapping.put("EMA", "tns:CompanyInfo");
		mapping.put("DesiredAccount", "tns:Account");
		mapping.put("EMACC", "xsd:integer");
		mapping.put("DestinationHospitalAddress", "tns:Address");
		mapping.put("ArrivalAirportAddress", "tns:Airport");
		mapping.put("ArrivalAirport", "tns:Address");
		mapping.put("DestinationHospital", "tns:Address");
		mapping.put("Transport1Parameters", "tns:TransportParameters");
//		mapping.put("EMAAttendant", "token");
		mapping.put("Patient_0", "xsd:token");
		mapping.put("TransportToHospital", "xsd:int");

	}
	
	public String getParamType(String name) {
		return mapping.get(name);
	}
	
}
